package com.leapp.sk.binder.login

import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.viewdelegate.login.MobileVerificationDelegate

/**手机号校验数据视图绑定控制器
 * @author  chaohaipeng  on 2018/7/10.
 */
class MobileVerificationBinder : BaseDataBinder<MobileVerificationDelegate, String> {
    override fun viewBindModel(viewDelegate: MobileVerificationDelegate?, data: String?) {
        viewDelegate?.setTitle(data)
    }
    override fun getDataClass(): Class<String> {
        return String::class.java
    }
}